<#import "../layout.ftl" as page>
<@page.layout moduleName="setup">
<input type="hidden" id="IOS_AGENT_DOWNLOAD_URL"  value="${constant.IOS_AGENT_DOWNLOAD_URL}">
<input type="hidden" id="ANDROID_AGENT_DOWNLOAD_URL"  value="${constant.ANDROID_AGENT_DOWNLOAD_URL}">
<input type="hidden" id="ANDROID_ECLIPSE_DOWNLOAD_URL_GT_4_4"  value="${constant.ANDROID_ECLIPSE_DOWNLOAD_URL_GT_4_4}">
<input type="hidden" id="ANDROID_ECLIPSE_DOWNLOAD_URL_LT_4_4"  value="${constant.ANDROID_ECLIPSE_DOWNLOAD_URL_LT_4_4}">
<input type="hidden" id="ANDROID_GRADLE_DOWNLOAD_URL"  value="${constant.ANDROID_GRADLE_DOWNLOAD_URL}">
<input type="hidden" id="ANDROID_MAVEN_DOWNLOAD_URL"  value="${constant.ANDROID_MAVEN_DOWNLOAD_URL}">
<script type="text/javascript"  class="server-access">
<#if account ??>
	BlueWare['setup_plat'] = '${account.attributes.plat}';
	BlueWare['setup_appname'] = '${account.name?html}';
	BlueWare['setup_token'] = '${account.token}';
<#else>
	BlueWare['setup_plat'] = null;
</#if>
<#if !can_add>
	BlueWare['limitSetup'] = true
<#else>
	BlueWare['limitSetup'] = false;
</#if>
</script>
</@page.layout>
